SOGetHostByName


C Specification

#include <dolphin/socket.h>
SOHostEnt* SOGetHostByName( const char* name );

Description

SOGetHostByName() returns information about the host named name.

Note: SOGetHostByName() is not reentrant and not thread-safe.

Arguments

name A host name or a numeric address string in the dotted-decimal notation.

Return Values

A pointer to SOHostEnt structure if the requested entry was found. Otherwise NULL.

See Also

SOGetHostByAddr, SOHostEnt